package a02_Interit.OverwriteToString;

/**
 * @Author quan
 * @Description 知识点：测试重写的ToString方法，使输出学生对象stu不再是地址值
 * @Date 2023/3/1 14:03
 */
public class TestDemo {
    public static void main(String[] args) {
        Student stu = new Student("张三",19,"男");
        System.out.println(stu);
    }
}
